/*
 * @Author: your name
 * @Date: 2021-09-23 20:45:39
 * @LastEditTime: 2021-09-26 18:54:52
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \xbsg-wx\api\index.js
 */
import repairApi from "./repairApi"
import energyApi from "./energyApi";
import greencleanApi from "./greencleanApi";
import materialsApi from "./materialsApi";
import buildingApi from "./buildingApi";
import CheckMeterApi from "./CheckMeterApi";
import businessApi from "./businessApi";
import securityApi from "./securityApi";
import loginApi from "./loginApi";
import parkingApi from "./parkingApi";
import commonApi from "./commonApi";
import parkApi from "./parkApi";
import wxAuth from "./wxAuth";
import LifeApi from "./lifeApi";
const install = (Vue, vm) => {
	Vue.prototype.apis={
		// 公共apis
		commonApi:commonApi(vm),
		//维修
		repairApi: repairApi(vm),
		//能源
		energyApi:energyApi(vm),
		// 绿化保洁
		greencleanApi:greencleanApi(vm),
		// 物资管理
		materialsApi:materialsApi(vm),
		// 楼宇管理
		buildingApi:buildingApi(vm),
		// 水电气抄表
		CheckMeterApi:CheckMeterApi(vm),
		// 企业管理
		businessApi:businessApi(vm),
		// 智慧安防
		securityApi:securityApi(vm),
		// 登陆
		loginApi:loginApi(vm),
		// 停车记录
		parkingApi:parkingApi(vm),
		parkApi:parkApi(vm),
		wxAuth:wxAuth(vm),
		lifeApi:LifeApi(vm)
	}
}

export default {
	install
}
